package com.ziyun.pop.modules.popSysLog.service.impl;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import org.springframework.stereotype.Service;
import java.util.Map;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import io.renren.common.utils.PageUtils;
import io.renren.common.utils.Query;

import com.ziyun.pop.modules.popSysLog.dao.PopSysLogDao;
import com.ziyun.pop.modules.popSysLog.entity.PopSysLogEntity;
import com.ziyun.pop.modules.popSysLog.service.PopSysLogService;


@Service("popSysLogService")
public class PopSysLogServiceImpl extends ServiceImpl<PopSysLogDao, PopSysLogEntity> implements PopSysLogService {

    @Override
    public PageUtils queryPage(Map<String, Object> params) {
        Page<PopSysLogEntity> page =(Page<PopSysLogEntity>) this.page(
                new Query<PopSysLogEntity>(params).getPage(),
                new QueryWrapper<PopSysLogEntity>()
        );

        return new PageUtils(page);
    }

}
